import java.util.Scanner;

public class GuessNumber {
    public static void main(String[] args) {
//        1.生成一个1-100之间的答案数字
        int answer = (int) (Math.random() * 100  + 1);
        Scanner scan = new Scanner(System.in);
        int guess;
        //啊没看清题目。。。做的超前了。。。。老师应该不会太在意吧QWQ这也提交了改不了啊算了生死由天
        while (true){
            guess=scan.nextInt();
            if (guess > answer) {
                System.out.println("大了");
            } else if (guess < answer) {
                System.out.println("小了");
            } else {
                System.out.println("恭喜你！猜对啦");
                break;
            }
        }


    }
}
